package com.mini.vo;

import java.util.List;

/**
 * Created with meng.
 * User: meng5
 * Date: 2020-02-10
 * Description:
 */
public class PageResultWithTotalVO<T> extends PageResultVO<T> {


    private static final long serialVersionUID = -2914808027592571295L;
    T totalRecord;

    public T getTotalRecord() {
        return totalRecord;
    }

    public void setTotalRecord(T totalRecord) {
        this.totalRecord = totalRecord;
    }
    public PageResultWithTotalVO(){

    }


    public PageResultWithTotalVO(T totalRecord) {
        this.totalRecord = totalRecord;
    }

    public PageResultWithTotalVO(long total, List<T> rows, T totalRecord) {
        super(total, rows);
        this.totalRecord = totalRecord;
    }
}